package com.h3c.nem.dto.mapstruct;

import com.h3c.nem.dto.TbWorkerDTO;
import com.h3c.nem.dto.client.NewWorkerClientDTO;
import com.h3c.nem.entity.TbWorker;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface TbWorkerMap {
    TbWorkerMap INSTANCE = Mappers.getMapper(TbWorkerMap.class);

    TbWorker clientDTOToWorker(NewWorkerClientDTO worker);

}
